package com.engine4cloud.tdf.supervision.dto.result;

import com.engine4cloud.tdf.common.core.constant.enums.BriefAuditActionStatusEnum;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 帮扶申请
 *
 * @author wenjie
 * @date 2024-04-26 14:44:20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "帮扶申请")
public class SpHelpResultDTO extends CreateTimeResultDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 矫正人员编号
     */
    @Schema(description = "矫正人员编号")
    private String rybh;

    /**
     * 矫正对象姓名
     */
    @Schema(description = "矫正对象姓名")
    private String xm;

    /**
     * 矫正人员编号
     */
    @Schema(description = "流程编号")
    private String lcbh;

    /**
     * 帮扶时间
     */
    @Schema(description = "帮扶时间")
    private LocalDateTime bfsj;

    /**
     * 帮扶申请类型
     */
    @Schema(description = "帮扶申请类型")
    private String bfsqlx;

    /**
     * 帮扶申请类型名称
     */
    @Schema(description = "帮扶申请类型名称")
    private String bfsqlxmc;

    /**
     * 帮扶申请理由
     */
    @Schema(description = "帮扶申请理由")
    private String bfsqly;

    @Hidden
    @Schema(description = "帮扶所在省（区、市）")
    private String bfszs;

    @Hidden
    @Schema(description = "帮扶所在地（市、州）")
    private String bfszds;

    @Hidden
    @Schema(description = "帮扶所在县（市、区）")
    private String bfszxq;

    @Hidden
    @Schema(description = "帮扶所在（乡镇、街道）")
    private String bfszd;

    /**
     * 帮扶地点
     */
    @Schema(description = "帮扶地点")
    private String bfdd;

    /**
     * 帮扶内容
     */
    @Schema(description = "帮扶内容")
    private String bfnr;

    /**
     * 记录人
     */
    @Schema(description = "记录人")
    private String jlr;

    /**
     * 记录时间
     */
    @Schema(description = "记录时间")
    private LocalDateTime jlsj;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;

    /**
     * 审核动作
     */
    @Schema(description = "审核动作", example = "CREATE")
    private BriefAuditActionStatusEnum preAction;

    /**
     * 教育帮扶地点
     */
    @Schema(description = "教育帮扶地点", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    private List<String> areaList;

    /**
     * 文书材料
     */
    @Schema(description = "文书材料", example = """
            [{"name": "张三.png",
            "url": "/supervision/oss-file/oss/file?fileName=09468fc20f2544e28891a058858fdf58.jpeg"}
            ]""")
    private List<JzdxFileResultDTO> instrumentList;
}